# Author:sp
# CreaTime: $(DATE)
# FileName: $(NAME)
# Description: simple introdution of the code
s={i for i in range(6)}
s1={2,23,3,34}
#两个集合的交集
print(s.intersection(s1))
print(s & s1)
print(s,'\n',s1)
#两个集合的并集
print(s.union(s1))
print(s | s1)
print(s,'\n',s1)
#两个集合的差集
print(s.difference(s1))
print(s - s1)
print(s,'\n',s1)
#两个集合的对称差集
print(s.symmetric_difference(s1))
print(s ^ s1)